import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//导入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 导入初始化reset.css样式
import './assets/css/reset.css'
//导入iconfont图标
import './assets/css/iconfont.css'

//导入utils文件
import './utils/localStorage'

//挂载网络请求的方法
import api from './api/index'
Vue.prototype.$api = api

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
